<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>福师大个人助理</title>
    <style>
        * {
            margin: 0 auto;
        }

        /* 通用 */
        .Head {
            border-radius: 50%;
            background-image: url();
            background-size: 100%;
            background-repeat: no-repeat;
            background-color: gray;
        }

        .UserName {
            display: -webkit-box;
            overflow: hidden;
            text-overflow: ellipsis;
            font-family: cursive;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
        }

        .Trip {
            background-color: white;
            font-size: 13px;
            text-align: center;
            font-family: fantasy;
            /* border-top: 1px solid rgb(174, 174, 174); */
            border-bottom: 1px solid rgb(213, 213, 213);
            color: rgb(167, 167, 167);
        }

        .NewRew {
            position: absolute;
            width: 10px;
            height: 10px;
            background-color: red;
            border-radius: 50%;
        }
    </style>
    <style>
        body {
            position: relative;
            background-color: rgb(231, 231, 231);
            min-height: 900px;
            z-index: 0;

        }





        button {
            outline: none;
        }

        /* 
        ::-webkit-scrollbar 滚动条整体部分
        ::-webkit-scrollbar-thumb  滚动条里面的小方块，能向上向下移动（或往左往右移动，取决于是垂直滚动条还是水平滚动条）
        ::-webkit-scrollbar-track  滚动条的轨道（里面装有Thumb）
        ::-webkit-scrollbar-button 滚动条的轨道的两端按钮，允许通过点击微调小方块的位置。
        ::-webkit-scrollbar-track-piece 内层轨道，滚动条中间部分（除去）
        ::-webkit-scrollbar-corner 边角，即两个滚动条的交汇处
        ::-webkit-resizer 两个滚动条的交汇处上用于通过拖动调整元素大小的小控件 
        */

        .MyScroll::-webkit-scrollbar {
            width: 5px;
            background-color: transparent;

        }

        .MyScroll::-webkit-scrollbar-track {
            box-shadow: inset 0 0 1px rgba(0, 0, 0, 0);
            /* border-radius: 10px; */
            background: #ccc;
        }

        .MyScroll::-webkit-scrollbar-track-piece {
            background-color: transparent;
        }

        .MyScroll::-webkit-scrollbar-button {
            display: none;
        }

        .MyScroll::-webkit-scrollbar-thumb {
            border-radius: 5px;
            box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
            background: #a7a7a7;
        }
    </style>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        .nihao {
            width: 350px;
            height: 800px;
            box-shadow: grey 10px 20px 50px -21px;
            border-radius: 30px;
            position: fixed;
            top: 50px;
            /* left: 50px; */
        }

        .nav {
            background-color: white;
            height: 40px;
            box-shadow: grey 0px 2px 26px -10px;
        }

        .three {
            width: 200px;
            height: 1200px;
        }

        li {
            list-style: none;
        }
    </style>
</head>

<body>
    <style>
        .IX_ToolGroup_bg {
            position: absolute;
            left: 40px;
            top: 60px;
            width: 350px;
            height: 120px;
            border-radius: 20px;
            background-color: rgb(247, 247, 247);
            box-shadow: grey 0 0 20px -5px;
            overflow: hidden;
        }

        .IX_ToolTrip_p {
            width: 100%;
            height: 20px;
            background-color: white;

        }

        .IX_ToolGroupBox {
            position: relative;
            height: 80px;
            width: 100%;
            /* background-color: rgb(255, 255, 255); */
        }

        .IX_ToolBot {
            position: relative;
            float: left;
            height: 60px;
            width: 60px;
            background-color: rgb(255, 255, 255);
            box-shadow: gray 0 0 10px -3px;
            border-radius: 50%;
            margin-left: 8.5px;
            margin-top: 10px;
            transition: all 0.5s;

            /* box-shadow: inset rgb(37, 37, 37) 0 0 10px -5px; */
        }

        .IX_ToolBot:hover {
            cursor: pointer;
            box-shadow: honeydew 0 0 10px -5px;
        }

        .FontSpan {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -75%);
        }

        .IX_ToolBotTrip {
            position: absolute;
            font-size: 15px;
            width: 76px;
            height: 40px;
            text-align: center;
            /* height: 20px; */
            left: 50%;
            top: 105%;
            transform: translate(-50%, 0);
            /* background-color: gray; */
            /* transition: all 0.1s; */

        }
    </style>
    <!-- <div class="nihao"></div> -->
    <div class="nav"></div>
    <div class="IX_ToolGroup_bg">
        <!-- 消息,小说，工作，日记，地图 -->
        <p class="IX_ToolTrip_p Trip">功能按钮</p>
        <div class="IX_ToolGroupBox">
            <div class="IX_ToolBot">
                <span class="FontSpan">X</span>
                <span class="IX_ToolBotTrip">消息</span>
            </div>
            <div class="IX_ToolBot">
                <span class="FontSpan">X</span>
                <span class="IX_ToolBotTrip">小说</span>
            </div>
            <div class="IX_ToolBot">
                <span class="FontSpan">X</span>
                <span class="IX_ToolBotTrip">工作</span>
            </div>
            <div class="IX_ToolBot">
                <span class="FontSpan">X</span>
                <span class="IX_ToolBotTrip">日记</span>
            </div>
            <div class="IX_ToolBot">
                <span class="FontSpan">X</span>
                <span class="IX_ToolBotTrip">地图</span>
            </div>
        </div>


    </div>

    <style>
        .IX_DomainGroup_bg {
            position: absolute;
            width: 350px;
            height: 620px;
            left: 40px;
            top: 240px;
            border-radius: 20px;
            background-color: rgb(181, 181, 181);
            /* overflow: hidden; */
            box-shadow: grey 0 10px 20px -5px;
        }

        .IX_DomainHeadTrip {
            position: absolute;
            width: 80px;
            height: 80px;
            background-color: white;
            top: -40px;
            left: 125px;
            box-shadow: grey 0 10px 15px -8px;
        }

        .IX_DomainGroupTrip_p {
            /* position: absolute; */
            text-align: left;
            text-indent: 2em;
            height: 50px;
            border-radius: 20px 20px 0 0;
            font-size: 18px;
            line-height: 50px;
            color: grey;
        }

        .IX_DomainGroupBox {
            height: 570px;
            width: 100%;
            /* background-color: wheat; */
            border-radius: 0 0 20px 20px;
        }

        .IX_DomainEntity {
            position: relative;
            width: 100%;
            min-height: 40px;
            background-color: white;
        }

        .IX_DomainEntity_ul {
            /* position: absolute; */
            width: 100%;

            /* min-height: 40px; */
            /* left: 50%;
            top: 40px; */
            /* transform: translate(-50%,0); */
            /* background-color: tomato; */
        }

        .IX_DomainEntity_li {
            
            height: 30px;
        }

        .IX_DomainEntityTrip {
            text-align: left;
            line-height: 40px;
            font-size: 16px;
            text-indent: 2em;
            height: 40px;
            color: grey;

        }
        .IX_DomainHeadSpan{
            transform: translate(-50%,-50%);
        }
     

    </style>
    <div class="IX_DomainGroup_bg">
        <div class="IX_DomainHeadTrip Head">
            <span class="IX_DomainHeadSpan FontSpan ">X</span>
        </div>
        <p class="IX_DomainGroupTrip_p Trip">功能区</p>
        <div class="IX_DomainGroupBox MyScroll">
            <div class="IX_DomainEntity">
                <div class="IX_DomainEntityTrip Trip">大纲</div>
                <div class="IX_DomainBox"></div>
            </div>

        </div>
    </div>
    <!-- <div class="three"></div> -->
    <style>
        .IX_WorkSpace_bg{
            margin-top: 20px;
            margin-left: 420px;
            height: 800px;
            width: 1200px;
            border-radius: 20px;
            box-shadow: grey 0 0 20px -5px;
            /* background-color: rgb(255, 255, 255); */
        }
        .IX_WorkSpace{
            position: relative;
            height: 100%;
            width: 100%;
        }
    </style>
    <div class="IX_WorkSpace_bg">
        <div class="IX_WorkForNovelBox IX_WorkSpace">

        </div>
    </div>
</body>
<script>
    //    $xx表示以xx方式选取某元素
    //以Id名获得
    function $Id(name) {
        return document.getElementById(name);
    }
    //以类名获得首元素
    function $ClassFirst(name) {
        return document.getElementsByClassName(name)[0];
    }
    //以类名获得元素组
    function $ClassGroup(name) {
        return document.getElementsByClassName(name);
    }
    //以名字获得首元素
    function $NameFirst(name) {
        return document.getElementsByName(name)[0];
    }
    //以名字获得元素组
    function $NameGroup(name) {
        return document.getElementsByName(name);
    }
    // 不好用
    // Username.defaultValue="请输入你用户名或ID";
</script>
<script>
    var IX_ToolBot_s = $ClassGroup("IX_ToolBot");
    var IX_ToolBotTrip_s = $ClassGroup("IX_ToolBotTrip");

    var WhoIsTrueIX_ToolBot = null;
</script>

<script>
    function Click_IX_ToolBot(the_IX_ToolBot) {
        if (WhoIsTrueIX_ToolBot == null) {
            WhoIsTrueIX_ToolBot = the_IX_ToolBot;
        } else {
            WhoIsTrueIX_ToolBot.style =
                " background-color: rgb(255, 255, 255);box-shadow: gray 0 0 10px -3px;color:black;";
            WhoIsTrueIX_ToolBot.getElementsByClassName("IX_ToolBotTrip")[0].style = "background-color:transparent;";
            WhoIsTrueIX_ToolBot = the_IX_ToolBot;
        }
        the_IX_ToolBot.style =
            "box-shadow: honeydew 0 0 10px -5px;background-color: rgb(121, 121, 121);color:white;box-shadow: inset black 0 0 10px -5px;";
        the_IX_ToolBot.getElementsByClassName("IX_ToolBotTrip")[0].style = "background-color:rgb(121, 121, 121);";
    }
</script>
<script>
    function Init_IX_ToolBot_s() {
        for (let i = 0; i < IX_ToolBot_s.length; i++) {
            IX_ToolBot_s[i].addEventListener("click", function () {
                Click_IX_ToolBot(this);
            })
        }
    }
</script>
<script>
    Init_IX_ToolBot_s();
</script>

</html>